# eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.snmpSecurity

Module implementing checks for the insecure use of SNMP.

### Global Attributes

None

### Classes

None

### Functions

checkInsecureVersion | Function to check for the use of insecure SNMP version like v1, v2c.
checkWeakCryptography | Function to check for the use of insecure SNMP cryptography (i.e.
getChecks | Public method to get a dictionary with checks handled by this module.

## checkInsecureVersion

checkInsecureVersion(reportError, context, _config)

Function to check for the use of insecure SNMP version like v1, v2c.

reportError (func)
  function to be used to report errors
context (SecurityContext)
  security context object
_config (dict)
  dictionary with configuration data (unused)

Up

## checkWeakCryptography

checkWeakCryptography(reportError, context, _config)

Function to check for the use of insecure SNMP cryptography (i.e. v3 using noAuthNoPriv).

reportError (func)
  function to be used to report errors
context (SecurityContext)
  security context object
_config (dict)
  dictionary with configuration data (unused)

Up

## getChecks

getChecks()

Public method to get a dictionary with checks handled by this module.

Return:
  dictionary containing checker lists containing checker function and list of codes

Return Type:
  dict

Up